package com.seahorse.youliao.service;

import com.seahorse.youliao.service.entity.User;

import java.util.Set;

/**
 * @ProjectName: youliao
 * @Package: com.seahorse.youliao.service
 * @ClassName: UserService
 * @Description: 用户管理
 * @author:songqiang
 * @Date:2020-01-10 11:09
 **/
public interface UserService {


    /**
     * 根据用户名查找用户
     * @param username
     * @return
     */
    User findByUsername(String username);

    /**
     * 查找用户的菜单权限标识集合
     * @param userName
     * @return
     */
    Set<String> findPermissions(String username);

}
